public class Main {
    public static void main(String[] args) {
        IList list = new MySingleList();
        list.createList();
        list.display();
        System.out.println(list.size());
        list.addFirst(99);
        list.display();
        list.addFirst(88);
        list.display();
        list.remove(99);
        list.addLast(77);
        list.display();
        list.addIndex(1,66);
        list.display();
        list.remove(6);
        list.display();
        list.addFirst(77);
        list.removeAllKey(77);
        list.display();
        System.out.println("========");
        list.clear();
        list.display();




    }
}
